qemu: Add OP-TEE extra image parsing support
authorJens Wiklander <jens.wiklander@linaro.org>
Thu, 24 Aug 2017 11:16:26 +0000 (13:16 +0200)
committerJens Wiklander <jens.wiklander@linaro.org>
Thu, 24 Aug 2017 14:00:20 +0000 (16:00 +0200)
commite2af1cadf7cbbb04caa74bbbb0e61578bc446a3a
tree267fb61658e24afe3e9ec615e18a41309e708c2f
parent19911aa6feda9f10998de44d8853ecd28417f45d
qemu: Add OP-TEE extra image parsing support

OP-TEE may have extra images to be loaded. Load them one by one and do
the parsing. In this patch, ARM TF need to load up to 3 images for
OP-TEE: header, pager and pages images. Header image is the info about
optee os and images. Pager image include pager code and data.  Paged
image include the paging parts using virtual memory.

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
plat/qemu/include/platform_def.h
plat/qemu/platform.mk
plat/qemu/qemu_bl2_mem_params_desc.c
plat/qemu/qemu_bl2_setup.c
plat/qemu/qemu_io_storage.c